import Router from 'koa-router';

import userRouter from './routers/user';

import { checkLogined } from './modules/user';
import { upload } from './modules/stores';

const router = new Router();

router.use('/user', userRouter.routes());

router.post('/upload', checkLogined, upload);


export default router;
